package org.jeecg.modules.unifysys.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.persistence.Transient;

/**
 * @Description: 用户所在的系统
 * @Author: jeecg-boot
 * @Date:   2021-04-13
 * @Version: V1.0
 */
@Data
@TableName("unify_user_system")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="unify_user_system对象", description="用户所在的系统")
public class UnifyUserSystem implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
	/**用户所在子系统*/
	@Excel(name = "用户所在子系统", width = 15)
    @ApiModelProperty(value = "用户所在子系统")
    private java.lang.String userSysName;
	/**用户所在的系统编码*/
	@Excel(name = "用户所在的系统编码", width = 15)
    @ApiModelProperty(value = "用户所在的系统编码")
    private java.lang.String userSysCode;
	/**用户id*/
	@Excel(name = "用户id", width = 15)
    @ApiModelProperty(value = "用户id")
    private java.lang.String userCode;
	/**子系统用户id*/
	@Excel(name = "子系统用户id", width = 15)
    @ApiModelProperty(value = "子系统用户id")
    private java.lang.String userId;

	@Excel(name = "角色名称")
	private String roleName;

	@Excel(name = "子系统用户名")
	private String username;

	@Excel(name = "子系统真实名字")
	private String realName;

	@Excel(name = "角色id")
	private String roleId;

	@Excel(name="用户类型 0 普通用户 1 督查组 2作战室的人")
	private int userType;

	@TableField(exist = false)
	private String postName;

	@Excel(name="单位名称")
	private String deptName;






}
